import http from "../plugins/http";

const getSSCApplyInfo = params => {
  // return http.get({
  //   url: "ggfw/api/wecity/api/essc/apply",
  //   params
  // });
  return http.get({
    url: "./rest/app/api/v1/essc/sign/info",
    params
  });
};

const getSSCSign = data => {
  // return http.post({
  //   url: "ggfw/api/wecity/api/essc/token/sign",
  //   data
  // });
  return http.post({
    url: "./rest/app/api/v1/essc/sign/str",
    data
  });
};

export { getSSCApplyInfo, getSSCSign };
